import React from 'react';  //导入react
import ReactDom from 'react-dom/client';  //用于解析react中代码
import './index.css';  //导入css
// import App from './App';  //导入App.js
import { RouterProvider } from "react-router-dom"
import router from "./router"
import { Provider } from "react-redux"
import store from "./store"
const root = ReactDom.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <Provider store={store}>
      <RouterProvider router={router}></RouterProvider>
    </Provider>
  </React.StrictMode>
)